func runtime.cheaprandn
11 uses
runtime (current package)
lock_spinbit.go#L338: return cheaprandn(rate32) == 0
lock_spinbit.go#L350: antiStarve := cheaprandn(mutexTailWakePeriod) == 0
malloc.go#L1878: q := cheaprandn(1<<randomBitCount) + 1
mgcpacer.go#L738: id := int32(cheaprandn(uint32(gomaxprocs - 1)))
mprof.go#L661: if cheaprandn(gTrackingPeriod) == 0 {
os_linux.go#L670: spec.it_value.setNsec(1 + int64(cheaprandn(uint32(1e9/hz))))
proc.go#L7123: j := cheaprandn(i + 1)
proc.go#L7164: j := cheaprandn(i + 1)
rand.go#L291: func cheaprandn(n uint32) uint32 {
select.go#L191: j := cheaprandn(uint32(norder + 1))
symtab.go#L1096: ci := cheaprandn(uint32(len(cache.entries[ck])))
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)